<g:form name="search" url="[action:'search']" method="get">
search : <g:textField name="str" size="80"/>
<input type='submit' value="submit"/>
</g:form>